package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

public class IndexNewCoupon implements Serializable {
	 /**
	 * 
	 */
	private static final long serialVersionUID = 6772290074025735009L;

	/**
     * This field corresponds to the database column mall_coupon_sales.id
     * 主键，不可重复
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column mall_coupon_sales.store_id
     * 商铺ID
     */
    private Integer storeId = 0;
    
    private String storeName = "";
    
    private String goodsName = "";
    
    //生成张数，0为不限制
    private Integer genCount = 0;
    
    //是否可以多次使用（0一次，1多次）
    private Integer isTimes = 0; 
    
    //图片地址
    private String imgUrl = "";
    
    //适用平台（PC或者移动端等）
    private Integer usePlatform = 0;
    
    //优惠劵详细描述
    private String couponDescribe = "";
    
    //优先级
    private Integer couponLevel = 0;
    
    private Integer bindNum = 0;//已绑定的用户数

    /**
     * This field corresponds to the database column mall_coupon_sales.coupon_name
     * 优惠劵名
     */
    private String couponName;

    /**
     * This field corresponds to the database column mall_coupon_sales.coupon_value
     * 优惠劵金额
     */
    private Double couponValue;

    /**
     * This field corresponds to the database column mall_coupon_sales.start_time
     */
    private Date startTime = new Date();

    /**
     * This field corresponds to the database column mall_coupon_sales.end_time
     */
    private Date endTime = new Date();

    /**
     * This field corresponds to the database column mall_coupon_sales.min_amount
     * 最低消费金额
     */
    private Double minAmount;

    /**
     * This field corresponds to the database column mall_coupon_sales.cp_status
     * 状态，0为正常，1为过期,2为作废
     */
    private Integer cpStatus = 0;

    /**
     * This field corresponds to the database column mall_coupon_sales.create_date
     */
    private Date createDate = new Date();

    /**
     * This field corresponds to the database column mall_coupon_sales.create_user_id
     */
    private Integer createUserId = 0;

    /**
     * This field corresponds to the database column mall_coupon_sales.create_user_name
     */
    private String createUserName = "";

    /**
     * This field corresponds to the database column mall_coupon_sales.update_date
     */
    private Date updateDate = new Date();

    /**
     * This field corresponds to the database column mall_coupon_sales.update_user_id
     */
    private  Integer updateUserId = 0;

    /**
     * This field corresponds to the database column mall_coupon_sales.update_user_name
     */
    private String updateUserName;

    /**
     * This field corresponds to the database column mall_coupon_sales.goods_id
     * 商品ID
     */
    private Integer goodsId = 0;

    /**
     * This field corresponds to the database column mall_coupon_sales.coupon_type
     * 优惠劵类型
     */
    private Integer couponType = 0;

    private Integer mealId = 0;
    /**
     * This method returns the value of the database column mall_coupon_sales.id
     *
     * @return the value of mall_coupon_sales.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.id
     *
     * @param id the value for mall_coupon_sales.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.store_id
     *
     * @return the value of mall_coupon_sales.store_id
     */
    public Integer getStoreId() {
        return storeId;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.store_id
     *
     * @param storeId the value for mall_coupon_sales.store_id
     */
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.coupon_name
     *
     * @return the value of mall_coupon_sales.coupon_name
     */
    public String getCouponName() {
        return couponName;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.coupon_name
     *
     * @param couponName the value for mall_coupon_sales.coupon_name
     */
    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.coupon_value
     *
     * @return the value of mall_coupon_sales.coupon_value
     */
    public Double getCouponValue() {
        return couponValue;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.coupon_value
     *
     * @param couponValue the value for mall_coupon_sales.coupon_value
     */
    public void setCouponValue(Double couponValue) {
        this.couponValue = couponValue;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.start_time
     *
     * @return the value of mall_coupon_sales.start_time
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.start_time
     *
     * @param startTime the value for mall_coupon_sales.start_time
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.end_time
     *
     * @return the value of mall_coupon_sales.end_time
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.end_time
     *
     * @param endTime the value for mall_coupon_sales.end_time
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.min_amount
     *
     * @return the value of mall_coupon_sales.min_amount
     */
    public Double getMinAmount() {
        return minAmount;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.min_amount
     *
     * @param minAmount the value for mall_coupon_sales.min_amount
     */
    public void setMinAmount(Double minAmount) {
        this.minAmount = minAmount;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.cp_status
     *
     * @return the value of mall_coupon_sales.cp_status
     */
    public Integer getCpStatus() {
        return cpStatus;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.cp_status
     *
     * @param cpStatus the value for mall_coupon_sales.cp_status
     */
    public void setCpStatus(Integer cpStatus) {
        this.cpStatus = cpStatus;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.create_date
     *
     * @return the value of mall_coupon_sales.create_date
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.create_date
     *
     * @param createDate the value for mall_coupon_sales.create_date
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.create_user_id
     *
     * @return the value of mall_coupon_sales.create_user_id
     */
    public Integer getCreateUserId() {
        return createUserId;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.create_user_id
     *
     * @param createUserId the value for mall_coupon_sales.create_user_id
     */
    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.create_user_name
     *
     * @return the value of mall_coupon_sales.create_user_name
     */
    public String getCreateUserName() {
        return createUserName;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.create_user_name
     *
     * @param createUserName the value for mall_coupon_sales.create_user_name
     */
    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.update_date
     *
     * @return the value of mall_coupon_sales.update_date
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.update_date
     *
     * @param updateDate the value for mall_coupon_sales.update_date
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.update_user_id
     *
     * @return the value of mall_coupon_sales.update_user_id
     */
    public Integer getUpdateUserId() {
        return updateUserId;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.update_user_id
     *
     * @param updateUserId the value for mall_coupon_sales.update_user_id
     */
    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.update_user_name
     *
     * @return the value of mall_coupon_sales.update_user_name
     */
    public String getUpdateUserName() {
        return updateUserName;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.update_user_name
     *
     * @param updateUserName the value for mall_coupon_sales.update_user_name
     */
    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.goods_id
     *
     * @return the value of mall_coupon_sales.goods_id
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.goods_id
     *
     * @param goodsId the value for mall_coupon_sales.goods_id
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * This method returns the value of the database column mall_coupon_sales.coupon_type
     *
     * @return the value of mall_coupon_sales.coupon_type
     */
    public Integer getCouponType() {
        return couponType;
    }

    /**
     * This method sets the value of the database column mall_coupon_sales.coupon_type
     *
     * @param couponType the value for mall_coupon_sales.coupon_type
     */
    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Integer getGenCount() {
		return genCount;
	}

	public void setGenCount(Integer genCount) {
		this.genCount = genCount;
	}

	public Integer getIsTimes() {
		return isTimes;
	}

	public void setIsTimes(Integer isTimes) {
		this.isTimes = isTimes;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public Integer getUsePlatform() {
		return usePlatform;
	}

	public void setUsePlatform(Integer usePlatform) {
		this.usePlatform = usePlatform;
	}

	public String getCouponDescribe() {
		return couponDescribe;
	}

	public void setCouponDescribe(String couponDescribe) {
		this.couponDescribe = couponDescribe;
	}

	public Integer getCouponLevel() {
		return couponLevel;
	}

	public void setCouponLevel(Integer couponLevel) {
		this.couponLevel = couponLevel;
	}

	public Integer getBindNum() {
		return bindNum;
	}

	public void setBindNum(Integer bindNum) {
		this.bindNum = bindNum;
	}
	

	
	public Integer getMealId() {
		return mealId;
	}

	public void setMealId(Integer mealId) {
		this.mealId = mealId;
	}
}